let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n98,
                    i =
                    (this && this.__extends) ||
                    ((_n98 = function n(t, e) {
                            return (_n98 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n98(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        }),
                    r =
                    (this && this.__decorate) ||
                    function(t, e, o, n) {
                        var i,
                            r = arguments.length,
                            a =
                            r < 3 ?
                            e :
                            null === n ?
                            (n = Object.getOwnPropertyDescriptor(e, o)) :
                            n;
                        if (
                            'object' ==
                            (typeof Reflect === 'undefined' ?
                                'undefined' :
                                typeof(Reflect)) &&
                            'function' == typeof Reflect.decorate
                        )
                            a = Reflect.decorate(t, e, o, n);
                        else
                            for (var s = t.length - 1; s >= 0; s--) {
                                (i = t[s]) &&
                                (a = (r < 3 ? i(a) : r > 3 ? i(e, o, a) : i(e, o)) || a);
                            }
                        return r > 3 && a && Object.defineProperty(e, o, a), a;
                    };
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.Guide2 = void 0);
                var a = t('AbsGuideAction'),
                    s = t('BattlePanel'),
                    c = t('UIMrg'),
                    l = t('BattleMrg'),
                    u = t('ConstantCfg'),
                    h = t('UILayer'),
                    p = t('MergeMrg'),
                    f = cc._decorator,
                    d = f.ccclass,
                    g =
                    (f.property,
                        (function(t) {
                            function e() {
                                var e = t.call(this) || this;
                                return (e._delay = 0.2), e.addStep(e.G1), e;
                            }
                            var o;
                            return (
                                i(e, t),
                                (o = e),
                                (e.prototype.G1 = function(t) {
                                    if (((this._delay -= t), !(this._delay > 0))) {
                                        var e = c.UIMrg.getPanel(s.BattlePanel);
                                        if (e && e.isShow) {
                                            if (
                                                !c.UIMrg.havePanelByLayer(o.Layers) &&
                                                e.canShowWeakGuide()
                                            ) {
                                                for (var n = 0; n < 3; n++) {
                                                    var i = e.getItemCom(n);
                                                    if (i.data && i.enabled)
                                                        return void(
                                                            i.view != this.target &&
                                                            (this.setTarget(i.view),
                                                                this.setTo(
                                                                    p.MergeMrg.getCanMergeLocation(i.data)
                                                                ),
                                                                this.setGuide(0))
                                                        );
                                                }
                                                if (
                                                    l.BattleMrg.ins.money >=
                                                    u.ConstantCfg.ins.getValue(10) &&
                                                    this.target != e.getRefreshButton().node
                                                )
                                                    return (
                                                        this.setTarget(e.getRefreshButton().node),
                                                        void this.setGuide(1)
                                                    );
                                                l.BattleMrg.ins.money <
                                                    u.ConstantCfg.ins.getValue(10) &&
                                                    this.target != e.getBattleButton().node &&
                                                    (this.setTarget(e.getBattleButton().node),
                                                        this.setGuide(2));
                                            } else this.setTarget(null);
                                        } else
                                            this.emit(a.GuideActionEvent.Complete, 0),
                                            this.destroy(!0);
                                        this._delay = 0.2;
                                    }
                                }),
                                (e.Layers = [h.UILayer.PopLayer, h.UILayer.TopLayer]),
                                (o = r([d('Guide2')], e))
                            );
                        })(a.AbsGuideAction));
                (o.Guide2 = g), console.log("end");
            module.exports =  e.exports;